﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace Surveillance
{
    class Goal
    {

        #region goal declarations

        private Texture2D goalTexture;
        private Rectangle targetLocation;

        #endregion

        #region goal constructors

        public Goal(Texture2D texture, Rectangle target)
        {
            goalTexture = texture;
            targetLocation = target;
        }

        #endregion

        #region goal draw

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(goalTexture, targetLocation, Color.White);
        }

        #endregion

        #region goal properties

        public Rectangle TargetLocation
        {
            get { return targetLocation; }
            set { targetLocation = value; }
        }

        #endregion
    }
}
